import request from '@/utils/request'

// 查询模块下拉树结构
export function treeselect() {
  return request({
    url: '/sysModule/sysModuleTree',
    method: 'get'
  })
}

// 查询模块列表
export function listDemand(data) {
  return request({
    url: '/sysDemand/list',
    method: 'get',
    params: data
  })
}